From ea2334dfe05304caf1c8ee4db03de00193591930 Mon Sep 17 00:00:00 2001 From: Mark Pryor Date: Thu, 25 Jan 2018 17:54:19 -0800 Subject: [PATCH] dh_shlibdeps: fix missing depend on libxentoolcore xen-4.10 introduces a depends on libxentoolcore to the libxenstore3.0 package. To keep the library support for the xenstore-utils minimal, the libxentoolcore*.so* lib is added to the package, along with its symbols into libxenstore3.0.symbols. This keeps d/control unchanged. Signed-off-by: Mark Pryor --- debian/libxenstore3.0.install | 1 + debian/libxenstore3.0.symbols | 6 ++++++ debian/rules.real | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/libxenstore3.0.install b/debian/libxenstore3.0.install index b0eecf5d65..1d3fabc1df 100644 --- a/debian/libxenstore3.0.install +++ b/debian/libxenstore3.0.install @@ -1 +1,2 @@ usr/lib/*/libxenstore.so.* +usr/lib/*/libxentoolcore*.so.* diff --git a/debian/libxenstore3.0.symbols b/debian/libxenstore3.0.symbols index d41fd6ab9c..508dfb48e3 100644 --- a/debian/libxenstore3.0.symbols +++ b/debian/libxenstore3.0.symbols @@ -45,3 +45,9 @@ libxenstore.so.3.0 libxenstore3.0 #MINVER# xs_watch@Base 3.2.0 xs_write@Base 3.2.0 xs_write_all@Base 3.2.0 +libxentoolcore-4.10.so.1 libxenstore3.0 #MINVER# + VERS_1.0@VERS_1.0 4.10.0 + xentoolcore__deregister_active_handle@VERS_1.0 4.10.0 + xentoolcore__register_active_handle@VERS_1.0 4.10.0 + xentoolcore__restrict_by_dup2_null@VERS_1.0 4.10.0 + xentoolcore_restrict_all@VERS_1.0 4.10.0 diff --git a/debian/rules.real b/debian/rules.real index 95dfaba518..e9508fe0df 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -176,7 +176,7 @@ install-libxen_$(ARCH): $(STAMPS_DIR)/install-utils_$(ARCH) install-libxenstore_ dh_testdir dh_testroot dh_prep - dh_install --sourcedir=$(DIR) usr/lib/*/lib*-$(VERSION).so* + dh_install -Xtoolcore --sourcedir=$(DIR) usr/lib/*/lib*-$(VERSION).so* dh_install debian/templates/libxen.bug/* usr/share/bug/$(PACKAGE_NAME) dh_strip dh_makeshlibs -V -- 2.30.2